package com.xyht.sca_s.student_manage_system.modules.wx.myEnum;


import java.util.stream.Stream;

public enum MessageStepEnum {
    MESSAGE_STEP_ENUM_WAIT_ALLOW("wait_allow","待审核"),
    MESSAGE_STEP_ENUM_ALLOW_PASS("allow_pass","审核通过"),
    MESSAGE_STEP_ENUM_ALLOW_DENY("allow_deny","审核驳回"),
    MESSAGE_STEP_ENUM_WAIT_DEAL("wait_deal","待处理"),
    MESSAGE_STEP_ENUM_WAIT_CHECK("wait_check","待查看"),
    MESSAGE_STEP_ENUM_COPY_WAIT_CHECK("copy_wait_check","待查看"),
    ;

     MessageStepEnum(String value, String name){
        this.value = value;
        this.name = name;
    }

    private String name;
    private String value;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public static Stream<MessageStepEnum> stream() {
        return Stream.of(MessageStepEnum.values());
    }

}
